/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       combat_creature_icon.h

	$Header: /game/combat_creature_icon.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef COMBAT_CREATURE_ICON_H_INCLUDED
#define COMBAT_CREATURE_ICON_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "combat_creature_ptr.h"
#include "creature_icon_window.h"


class t_combat_window;

// ----------------------------------------------------------------
// display a creature / hero portrait in a ring, and include help text / right click
// ----------------------------------------------------------------
class t_combat_creature_icon : public t_creature_icon_window
{
public:
	t_combat_creature_icon( t_screen_rect const& rect, t_window* parent, t_combat_window* combat_window );

	void			clear_creature();
    virtual void	right_button_up( t_mouse_event const& event );
	void			set_creature( t_combat_creature const * creature, bool force_awake_portrait = false);
protected:
	t_combat_creature_const_ptr    m_creature;
	t_combat_window*			   m_combat_window;
};

#endif // COMBAT_CREATURE_ICON_H_INCLUDED